home *** CD-ROM | disk | FTP | other *** search
- /* Definitions.h */
-
- #ifndef Included_Definitions_h
- #define Included_Definitions_h
-
- /* Definitions module depends on: */
- /* MiscInfo.h */
- /* Audit */
- /* Debug */
-
- /* generally useful values and types */
- #ifdef __cplusplus
- #define NIL (0)
- #else
- #define NIL ((void*)0L)
- #endif
- #define True (0 == 0)
- #define False (0 != 0)
- typedef int MyBoolean;
- #define CODE4BYTES(a,b,c,d) ((a)*(1L << 24) + (b)*(1L << 16) + (c)*(1L << 8) + (d))
-
- /* what line feed string is used on this system? */
- #define SYSTEMLINEFEED "\x0d"
-
- /* generalized optimized block move operation. Blocks will be handled */
- /* correctly even if the overlap */
- void MoveData(char* Source, char* Destination, long NumBytes);
-
- /* generalized block move operation. Blocks can't overlap */
- void CopyData(char* Source, char* Destination, long NumBytes);
-
- #endif
-